import TableColumn from '@geist-ui/react/dist/table/table-column';
import Table from '../../../components/table';
import { IData } from '../../api/teachjd/xsxk/content/query.api';


export default function List({ data }: { data: IData[] }) {
	return <>

		{/* <Table
			idfieldname='classname'
			render={(record) => {
				const { coursename, ...data } = record;
				return <>
				</>;
			}}
			data={data}
		>
			<Table.Column<IData> title='班级名称' key='classname' dataIndex='classname' align='left' />
			<Table.Column<IData> title='课程名称' key='coursename' dataIndex='coursename' align='left' />
			<Table.Column<IData> title='课组名称' key='coursegroup' dataIndex='coursegroup' align='left' />
			<Table.Column<IData> title='课程类型' key='coursetype' dataIndex='coursetype' align='left' />
			<Table.Column<IData> title='课程学分' key='credit' dataIndex='credit' align='left' />
			<Table.Column<IData> title='授课学期' key='teachingsemester' dataIndex='teachingsemester' align='left' />
		</Table> */}

		<style jsx>{`
.op{
	margin: 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 14rem;
	height: 1rem;
	flex-wrap: nowrap;
}
`}</style>
	</>;
}
